import ajax from './index'



export function common_word_list(condition) {
    return ajax({
        url: "/backend/common_word/list",
        method: "get",
        params: condition
    });
}

export function common_word_save(param) {
    return ajax({
        url: "/backend/common_word/save",
        method: "post",
        data: param
    });
}

export function common_word_del(id) {
    return ajax({
        url: "/backend/common_word/delete?ids=" + id,
        method: "post"
    });
}

export function common_word_detail(id) {
    return ajax({
        url: "/backend/common_word/detail/" + id,
        method: "get"
    });
}